package base.adpter.mobject;

/**
 * @program: DesignPatterns
 * @description: 适配器
 * @author: Mr.Dai
 * @create: 2018-04-10 17:50
 **/
public class printBanner extends Print{
    private Banner banner;

    public printBanner(String str) {
        this.banner = new Banner(str);
    }

    @Override
    public void printWeak() {
        banner.printStarWeak();
    }

    @Override
    public void printStrong() {
        banner.printStarStrong();
    }
}
